$font_title = "Helvetica-9#Right#XFT"
$font = "Helvetica-7#Left#XFT"

# maybe buttons for window close, iconize, expand and shade should be
# different?  i can't draw those above and below edge wrinkles

Require {
  Templates = "True"
}

Background {
  Texture = "Solid #808080"
}

Define = "Border" {
  Focused {
    TopLeft = "Image pictures/top_left.xpm"
    Top = "Image pictures/top_border.xpm"
    TopRight = "Image pictures/top_right.xpm"
    Left = "Image pictures/left_border.xpm"
    Right = "Image pictures/right_border.xpm"
    BottomLeft = "Image pictures/bottom_left.xpm"
    Bottom = "Image pictures/bottom_border.xpm"
    BottomRight = "Image pictures/bottom_right.xpm"
  }

  Unfocused {
    TopLeft = "Image pictures/top_left_unf.xpm"
    Top = "Image pictures/top_border_unf.xpm"
    TopRight = "Image pictures/top_right_unf.xpm"
    Left = "Image pictures/left_border_unf.xpm"
    Right = "Image pictures/right_border_unf.xpm"
    BottomLeft = "Image pictures/bottom_left_unf.xpm"
    Bottom = "Image pictures/bottom_border_unf.xpm"
    BottomRight = "Image pictures/bottom_right_unf.xpm"
  }
}

Define = "EmptyBorder" {
  Focused {
    TopLeft = "Empty"
    Top = "Empty"
    TopRight = "Empty"
    Left = "Empty"
    Right = "Empty"
    BottomLeft = "Empty"
    Bottom = "Empty"
    BottomRight = "Empty"
  }

  Unfocused {
    TopLeft = "Empty"
    Top = "Empty"
    TopRight = "Empty"
    Left = "Empty"
    Right = "Empty"
    BottomLeft = "Empty"
    Bottom = "Empty"
    BottomRight = "Empty"
  }
}

Define = "EmptyDecor" {
  Height = "0"

  Focused = "Empty"
  Unfocused = "Empty"
  Tab {
    Focused = "Empty"
    FocusedSelected = "Empty"
    Unfocused = "Empty"
    UnfocusedSelected = "Empty"
  }
  Separator {
    Focused = "Empty"
    Unfocused = "Empty"
  }
  Font {
    Focused = "Empty"
  }
  FontColor {
    Focused = "Empty"
    FocusedSelected = "Empty"
    Unfocused = "Empty"
    UnfocusedSelected = "Empty"
  }
}

PDecor{
Decor = "Default"{
  Title {
    Height = "20"
    Pad = "3 3 7 8"

    Focused = "Image pictures/title.xpm"
    Unfocused = "Image pictures/title_unf.xpm"

    Tab {
      Focused = "Image pictures/title.xpm"
      FocusedSelected = "Image pictures/title.xpm"
      Unfocused = "Image pictures/title_unf.xpm"
      UnfocusedSelected = "Image pictures/title_unf.xpm"
    }

    Separator {
      Focused = "Image pictures/tab_separator.xpm"
      Unfocused = "Image pictures/tab_separator.xpm"
    }

    Font {
      Focused = "$font_title"
    }

    FontColor {
      Focused = "#FF0000"
      FocusedSelected = "#010101"
      Unfocused = "#b3b3b3"
      UnfocusedSelected = "#b4b4b4"
    }

    Buttons {
      Left = "Close" {
        Focused = "Image pictures/button_close.xpm"
        Unfocused = "Image pictures/button_close_unf.xpm"
        Hoover = "Image pictures/button_close_hov.xpm"
        Pressed = "Image pictures/button_close_pr.xpm"
        Button = "1"{Actions = "Close"}
        Button = "3"{Actions = "Kill"}}
      Left = "Maxmize" {
        Focused = "Image pictures/button_full.xpm"
        Unfocused = "Image pictures/button_full_unf.xpm"
        Hoover = "Image pictures/button_full_hov.xpm"
        Pressed = "Image pictures/button_full_pr.xpm"
        Button = "1"{Actions = "Toggle Maximized 1 1"}}
      Left = "Iconify" {
        Focused = "Image pictures/button_hide.xpm"
        Unfocused = "Image pictures/button_hide_unf.xpm"
        Hoover = "Image pictures/button_hide_hov.xpm"
        Pressed = "Image pictures/button_hide_pr.xpm"
        Button = "1"{Actions = "Set Iconified"}
      }
      Left = "Shade" {
        Focused = "Image pictures/button_shade.xpm"
        Unfocused = "Image pictures/button_shade_unf.xpm"
        Hoover = "Image pictures/button_shade_hov.xpm"
        Pressed = "Image pictures/button_shade_pr.xpm"
        Button = "1"{Actions = "Toggle Shaded"}
      }
    }

    Border{
      @Border
    }
  }
}

Decor = "Menu"{
  Title{
    Height = "20"
    Pad = "2 4 6 8"

    Focused = "Image pictures/menu_title.xpm"
    Unfocused = "Image pictures/menu_title_unf.xpm"

    Tab {
      Focused = "Image pictures/menu_title.xpm"
      FocusedSelected = "Image pictures/menu_title.xpm"
      Unfocused = "Image pictures/menu_title_unf.xpm"
      UnfocusedSelected = "Image pictures/menu_title_unf.xpm"
    }

    Separator {
      Focused = "Image pictures/top_left.xpm"
      Unfocused = "Image pictures/top_left_unf.xpm"
    }

    Font {
      Focused = "$font_title"
    }

    FontColor {
      Focused = "#FF0000"
      FocusedSelected = "#000000"
      Unfocused = "#00FF00"
      UnfocusedSelected = "#bfbfbf"
    }

    Border {
      Focused {
        TopLeft = "Image pictures/bright.xpm"
        Top = "Image pictures/bright.xpm"
        TopRight = "Image pictures/brightshadow.xpm"
        Left = "Image pictures/bright.xpm"
        Right = "Image pictures/shadow.xpm"
        BottomLeft = "Image pictures/brightshadow.xpm"
        Bottom = "Image pictures/shadow.xpm"
        BottomRight = "Image pictures/shadow.xpm"
      }
      Unfocused {
        TopLeft = "Image pictures/bright_unf.xpm"
        Top = "Image pictures/bright_unf.xpm"
        TopRight = "Image pictures/brightshadow_unf.xpm"
        Left = "Image pictures/bright_unf.xpm"
        Right = "Image pictures/shadow_unf.xpm"
        BottomLeft = "Image pictures/brightshadow_unf.xpm"
        Bottom = "Image pictures/shadow_unf.xpm"
        BottomRight = "Image pictures/shadow_unf.xpm"
      }
    }
  }
}

Decor = "Titlebarless" {
  Title{
    @EmptyDecor
    Border {
      @Border
    }
  }
}

Decor = "Statuswindow" {
  Title {
    @EmptyDecor
    Border {
      @EmptyBorder
    }
  }
}

Decor = "WorkspaceIndicator" {
  Title {
    @EmptyDecor
    Border {
      @Border
    }
  }
}

}

Harbour {
  Texture = "Solid #FF00FF"
}

Menu {
  Pad = "2 0 4 8"

  Focused {
    Font = "$font"
    Background = "Solid #987868"
    Item = "Empty"
    Text = "#000000"
    Separator = "Image pictures/menuline.xpm#Scaled"
    Arrow = "Image pictures/arrow.xpm"
  }

  Unfocused {
    Font = "$font"
    Background = "Solid #666666"
    Item = "Empty"
    Text = "#b3b3b3"
    Separator = "Image pictures/menuline_unf.xpm#Scaled"
    Arrow = "Image pictures/arrow_unf.xpm"
  }

  Selected {
    Font = "$font"
    Background = "Solid #000000"
    Item = "Empty"
    Text = "#987868"
    Arrow = "Image pictures/arrow_pr.xpm"
  }
}

CmdDialog {
  Font = "$font"
  Texture = "Solid #ffffff"
  Text = "#000000"
  Pad = "3 10 1 3"
}

Status {
  Font = "$font"
  Texture = "Solid #987868"
  Text = "#000000"
  Pad = "4 2 10 30"
}

WorkspaceIndicator {
  Font = "#font"
  Background = "Solid #987868"
  Workspace = "Solid #666666"
  WorkspaceActive = "Solid #000000"
  Text = "#000000"
  EdgePadding = "1"
  WorkspacePadding = "1"
}
